$OpenBSD: patch-include_io_socket_stream_hpp,v 1.1 2017/05/21 09:50:45 espie Exp $

Index: include/io/socket_stream.hpp
--- include/io/socket_stream.hpp.orig
+++ include/io/socket_stream.hpp
@@ -204,7 +204,7 @@ typename basic_socketbuf<charT, traitsT>::int_type bas
     return traitsT::eof();
 
   growOutBuffer();
-  sputc(traitsT::to_char_type(c));
+  this->sputc(traitsT::to_char_type(c));
 
   return traitsT::not_eof(c);
 } // overflow
